package com.guigu.tms.commons.entity.base;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 司机驾驶证表
 * </p>
 *
 * @author zwj
 * @since 2022-09-28
 */
@TableName("pd_truck_driver_license")
public class TruckDriverLicense implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 准驾车型
     */
    private String allowableType;

    /**
     * 初次领证日期
     */
    private LocalDate initialCertificateDate;

    /**
     * 有效期限
     */
    private String validPeriod;

    /**
     * 驾驶证号
     */
    private String licenseNumber;

    /**
     * 驾龄
     */
    private Integer driverAge;

    /**
     * 驾驶证类型
     */
    private String licenseType;

    /**
     * 从业资格证信息
     */
    private String qualificationCertificate;

    /**
     * 入场证信息
     */
    private String passCertificate;

    /**
     * 图片
     */
    private String picture;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getAllowableType() {
        return allowableType;
    }

    public void setAllowableType(String allowableType) {
        this.allowableType = allowableType;
    }
    public LocalDate getInitialCertificateDate() {
        return initialCertificateDate;
    }

    public void setInitialCertificateDate(LocalDate initialCertificateDate) {
        this.initialCertificateDate = initialCertificateDate;
    }
    public String getValidPeriod() {
        return validPeriod;
    }

    public void setValidPeriod(String validPeriod) {
        this.validPeriod = validPeriod;
    }
    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }
    public Integer getDriverAge() {
        return driverAge;
    }

    public void setDriverAge(Integer driverAge) {
        this.driverAge = driverAge;
    }
    public String getLicenseType() {
        return licenseType;
    }

    public void setLicenseType(String licenseType) {
        this.licenseType = licenseType;
    }
    public String getQualificationCertificate() {
        return qualificationCertificate;
    }

    public void setQualificationCertificate(String qualificationCertificate) {
        this.qualificationCertificate = qualificationCertificate;
    }
    public String getPassCertificate() {
        return passCertificate;
    }

    public void setPassCertificate(String passCertificate) {
        this.passCertificate = passCertificate;
    }
    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return "TruckDriverLicense{" +
            "id=" + id +
            ", userId=" + userId +
            ", allowableType=" + allowableType +
            ", initialCertificateDate=" + initialCertificateDate +
            ", validPeriod=" + validPeriod +
            ", licenseNumber=" + licenseNumber +
            ", driverAge=" + driverAge +
            ", licenseType=" + licenseType +
            ", qualificationCertificate=" + qualificationCertificate +
            ", passCertificate=" + passCertificate +
            ", picture=" + picture +
        "}";
    }
}
